﻿using System;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Ink;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;

namespace DiscoveryLogic.UI.Layouts.Controls
{
    // A delegate type for hooking up change notifications.
    public delegate void SliderChangedEventHandler(object sender, EventArgs e); // An event that clients can use to be notified whenever the

        
    public interface IGraphControl
    {

        // Set slider given a delta
        void SetSlider(double delta);

        // Set slider given a percentage
        void SetSliderPercent(double percent);

        // elements of the list change.
        event SliderChangedEventHandler SliderChanged;

        // Invoke the Changed event; called whenever list changes
        void OnSliderChanged(EventArgs e);

        // Get last delta used
        double GetLastSliderChange();

        // Get current position of slider thumb
        double GetCurrentPosition();

        // Get slidable length of slider
        double GetSliderLength();
    }
}
